Don't test datetime in locales with no encoding
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Mon, 21 Feb 2022 07:35:51 +0000 (07:35 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Mon, 21 Feb 2022 07:35:51 +0000 (07:35 +0000)
commit768b900e378b0cca050d1ad5e6606b1f58a4a2d0
tree3478479215f4e18887265022bebc42b6b5a69762
parent061cb41561c8feab5afacf82f284f0bb70ca0b8b
Don't test datetime in locales with no encoding

Some datetime tests run the test in every available locale.
If this set includes locales without an encoding (currently dsb_DE
and sah_RU), it fails due to Python bug
https://bugs.python.org/issue20088

Failure log
https://tests.reproducible-builds.org/debian/rbuild/buster/amd64/pandas_0.23.3+dfsg-3.rbuild.log.gz

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/20957
Forwarded: no

Gbp-Pq: Name skip_noencoding_locales.patch
pandas/_config/localization.py